package com.kehutong.charge.entity;

import com.kehutong.charge.util.enums.ChargeBillStatusEnum;
import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

import java.math.BigDecimal;

/**
 * @program: kht
 * @description: ChargeBill
 * @author: joneron
 * @create: 2021/7/5
 **/
@Table(value="t_charge_bill_community", comment="小区账单管理表",multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ChargeBillCommunity extends DataEntity {

    protected ChargeBillCommunity(String id) {
        super(id);
    }

    @Column(comment="小区编号")
    private String communityNo;

    @Column(comment="小区名称")
    private String communityName;

    @Column(comment="小区账单编号")
    private String communityBillNo;

    @Column(comment="账单年月")
    private String billYearMonth;

    @Column(comment="账单数量")
    private int billTotal;

    @Column(comment="账单金额")
    private BigDecimal billAmountTotal;

    @Column(comment="记账周期")
    private String billCycleStart;

    @Column(comment="记账周期")
    private String billCycleEnd;

    @Column(comment="出账单日")
    private String billDate;

    @Column(comment="缴费时间")
    private String chargeDate;

    @Column(comment="违约时间")
    private String penaltyDate;

    @Column(comment="账单状态")
    private ChargeBillStatusEnum billStatus;

    @Column(comment="缴费状态")
    private ChargeBillStatusEnum chargeStatus;

    @Column(comment="操作说明")
    private String operaDesc;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "修改人")
    private String updateName;


    public ChargeBillStatusEnum getChargeStatus() {
        return chargeStatus;
    }

    public void setChargeStatus(ChargeBillStatusEnum chargeStatus) {
        this.chargeStatus = chargeStatus;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public ChargeBillStatusEnum getBillStatus() {
        return billStatus;
    }

    public void setBillStatus(ChargeBillStatusEnum billStatus) {
        this.billStatus = billStatus;
    }

    public int getBillTotal() {
        return billTotal;
    }

    public void setBillTotal(int billTotal) {
        this.billTotal = billTotal;
    }

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getCommunityBillNo() {
        return communityBillNo;
    }

    public void setCommunityBillNo(String communityBillNo) {
        this.communityBillNo = communityBillNo;
    }

    public String getBillYearMonth() {
        return billYearMonth;
    }

    public void setBillYearMonth(String billYearMonth) {
        this.billYearMonth = billYearMonth;
    }

    public BigDecimal getBillAmountTotal() {
        return billAmountTotal;
    }

    public void setBillAmountTotal(BigDecimal billAmountTotal) {
        this.billAmountTotal = billAmountTotal;
    }

    public String getBillCycleStart() {
        return billCycleStart;
    }

    public void setBillCycleStart(String billCycleStart) {
        this.billCycleStart = billCycleStart;
    }

    public String getBillCycleEnd() {
        return billCycleEnd;
    }

    public void setBillCycleEnd(String billCycleEnd) {
        this.billCycleEnd = billCycleEnd;
    }

    public String getBillDate() {
        return billDate;
    }

    public void setBillDate(String billDate) {
        this.billDate = billDate;
    }

    public String getChargeDate() {
        return chargeDate;
    }

    public void setChargeDate(String chargeDate) {
        this.chargeDate = chargeDate;
    }

    public String getPenaltyDate() {
        return penaltyDate;
    }

    public void setPenaltyDate(String penaltyDate) {
        this.penaltyDate = penaltyDate;
    }

    public String getOperaDesc() {
        return operaDesc;
    }

    public void setOperaDesc(String operaDesc) {
        this.operaDesc = operaDesc;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }
}
